package models.afd;

import java.sql.Timestamp;
import java.util.Date;

public class PontoAFD {
	private int nsr;
	private Timestamp dtPonto;
	private String pis;
	
	public int getNsr() {
		return nsr;
	}
	
	public void setNsr(int nsr) {
		this.nsr = nsr;
	}
	
	public Timestamp getDtPonto() {
		return dtPonto;
	}
	
	public void setDtPonto(Date dtInc) {
		this.dtPonto = new Timestamp(dtInc.getTime());
	}
	
	public String getPis() {
		return pis;
	}
	
	public void setPis(String string) {
		this.pis = string;
	}
	
	@Override
	public String toString() {
		return "PontoAFD [nsr=" + nsr + ",\n dtPonto=" + dtPonto + ",\n pis=" + pis + "]";
	}
	
}
